<?php
session_start();
error_reporting(E_ALL);
require_once("../functions/functions.php");
require_once('../config/config.php');
require_once("../classes/database.php");
require_once("resources/security/functions.php");
require_once("resources/security/functions_1.php");
checkLogged('login.php');
$isAdmin = getValue('isAdmin','int','SESSION',0);
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="vi" lang="vi" xmlns:og="http://ogp.me/ns#" xmlns:fb="https://www.facebook.com/2008/fbml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Administrator Managerment</title>
<link rel="stylesheet" type="text/css" href="resources/css/bootstrap.css" />
<link rel="stylesheet" type="text/css" href="resources/css/common.css" />
<link rel="stylesheet" type="text/css" href="resources/css/home.css" />
<script src="resources/js/jquery.js" type="text/javascript"></script>
<script src="resources/js/home.js" type="text/javascript"></script>
<script src="resources/js/bootstrap.min.js" type="text/javascript"></script>
</head>
<body>
    <div id="home_left" class="fl">
        <div id="logocms">
            <?php include 'resources/php/inc_header.php'?>
        </div>
        <div id="menu_header"><label><i class="icon-th-list icon-black"></i> Menu</label></div>
        <div id="menu_list">
            <?php include 'resources/php/inc_left.php'?>
        </div>
    </div>
    <div id="home_right" class="fl rlt">
        <span class="abs" id="viewHomePage" title="Xem trang chủ"><i class="icon-home icon-white"></i></span>
        <span class="abs" id="viewBackPage" title="Xem trang trước" onclick="window.history.back()"><i class="icon-circle-arrow-left icon-white"></i></span>
        <span class="abs" id="reloadFrame" title="Nạp lại khung"><i class="icon-refresh icon-white"></i></span>
        <iframe src="intro.php" id="main_frame">
            
        </iframe>
    </div>
    <div id="footer" class="fl">
        <?php include 'resources/php/inc_footer.php'?>
    </div>
</body>
<script>
$(document).ready(function(){
    var width_left = $('#home_left').width();
    var widthW = $(window).width();
    var heightW = $(window).height();
    $('#home_left').height(heightW - 55);
    $('#menu_list').height($('#home_left').height() - 65);
    $('#main_frame').width(widthW - width_left - 4);
    $('#main_frame').height(heightW - 55);
});
$(window).resize(function(){
    var width_left = $('#home_left').width();
    var widthW = $(window).width();
    var heightW = $(window).height();
    $('#home_left').height(heightW - 55);
    $('#menu_list').height($('#home_left').height() - 65);
    $('#main_frame').width(widthW - width_left - 4);
    $('#main_frame').height(heightW - 55);
})
</script>
</html>